CREATE TABLE abc (
    id INTEGER PRIMARY KEY
);

CREATE SEQUENCE integers_01;

ALTER SEQUENCE integers_01 AS INTEGER
    INCREMENT 10
    MINVALUE 100
    MAXVALUE 250000
    START 101
    CACHE 1
    NO CYCLE;

ALTER SEQUENCE IF EXISTS integers_01
    INCREMENT BY 2
    NO MINVALUE
    NO MAXVALUE
    START WITH 3
    CYCLE;

ALTER SEQUENCE integers_01 START 31
    OWNED BY abc.id;

ALTER SEQUENCE IF EXISTS integers_01 RENAME TO integers_02;

ALTER SEQUENCE integers_01 OWNER TO other_role;

ALTER SEQUENCE integers_01 SET SCHEMA other_schema;

ALTER SEQUENCE IF EXISTS integers_01 SET SCHEMA CURRENT_USER;

